package com.csdj.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class TransactionRecord {
     private Integer id;
     private String cardNo;
     @JSONField(format="yyyy-MM-dd")
     private Date transactionDate;
     private double transactionAmount;
     private double balance;
     private String transactionType;
     private String remark;

    public TransactionRecord() {
    }

    public TransactionRecord(String cardNo, Date transactionDate, double transactionAmount, double balance, String transactionType, String remark) {
        this.cardNo = cardNo;
        this.transactionDate = transactionDate;
        this.transactionAmount = transactionAmount;
        this.balance = balance;
        this.transactionType = transactionType;
        this.remark = remark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public Date getTransactionDate() {
        return transactionDate;
    }

    public void setTransactionDate(Date transactionDate) {
        this.transactionDate = transactionDate;
    }

    public double getTransactionAmount() {
        return transactionAmount;
    }

    public void setTransactionAmount(double transactionAmount) {
        this.transactionAmount = transactionAmount;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
